package com.spa.application.dto.admin;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.spa.infrastructure.enums.dict.coupon.CouponComeIntoForceTypeEnum;
import com.spa.infrastructure.enums.dict.coupon.CouponDiscountTypeEnum;
import com.spa.infrastructure.enums.dict.coupon.CouponTypeEnum;
import lombok.Data;

import java.util.Date;

@Data
@JsonInclude
public class TicketPickRecordDTO {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long ticketId;

    /** 用户id */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long userId;

    private String userName;

    private String name;

    private CouponTypeEnum type;

    private Integer threshold;

    private CouponDiscountTypeEnum discountType;

    private CouponComeIntoForceTypeEnum comeIntoForceType;

    private Integer expirationDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    private Integer rmb;
}
